package top.korori.sv.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 短视频前台用户
 *
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "用户信息")
public class SvUserInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("性别(0未设置 1男 2女 3保密)")
    private Integer sex;

    @ApiModelProperty("出生日期")
    private LocalDate birthday;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("星座")
    private String zodiac;

    @ApiModelProperty("简介")
    @TableField("`desc`")
    private String desc;

    @ApiModelProperty("所在地省份")
    private String placeProvince;

    @ApiModelProperty("所在地城市")
    private String placeCity;

    @ApiModelProperty("状态（0 正常 1 封禁）")
    private Integer status;

    @ApiModelProperty("喜欢数量")
    private Long likeNum;

    @ApiModelProperty("粉丝数量")
    private Long supporterNum;

    @ApiModelProperty("关注数量")
    private Long concernNum;


}
